package com.demo.gulimall.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author Chen Yuan
 * @create 2023-05-24  11:02
 */
@SpringBootApplication
@EnableFeignClients(basePackages = "com.demo.gulimall.auth.feign")
@MapperScan("com.demo.gulimall.auth.entity")
@EnableDiscoveryClient
@EnableRedisHttpSession // 整合 Redis 实现 Spring Session
public class MallAuthMain_8084 {
	public static void main(String[] args) {
		SpringApplication.run(MallAuthMain_8084.class, args);
	}
}
